package java67_12;

public class MobilePhone {
	String brand;
	int price;
	String color;
	// 第一种
	// Battery dianchi = new Battery();
	// 第二种
	Battery dianchi;

	public void show() {
		System.out.println("这个手机牌子是" + brand);
		System.out.println("价格" + price + "元");
		System.out.println("颜色是:" + color);
		System.out.println("电池情况如下:");
		// System.out.println(dianchi.brand+","+dianchi.vol);
		// System.out.println(dianchi);

		dianchi.show();
	}
}
